package cate.game.train.favorability.msg;

import cate.game.client.msg.ClientMsg;
import cate.game.client.msg.MsgConfig;
import cate.game.client.msg.MsgOutput;
import cate.game.client.msg.id.MsgIdBTrain;
import cate.game.role.bag.favorability.FavorabilityOn;
import easy.java.dev.note.NoteField;

@ClientMsg(title = "提升好感度结果返回")
public class ImproveFavorabilityResp implements MsgOutput {
    @NoteField("英雄uid")
    public String heroUid;

    @NoteField("英雄身上的好感度数据")
    public FavorabilityOn favorabilityOn;

    public ImproveFavorabilityResp(){

    }

    public ImproveFavorabilityResp(String heroUid, FavorabilityOn favorabilityOn){
        this.heroUid = heroUid;
        this.favorabilityOn = favorabilityOn;
    }

    @Override
    public MsgConfig conf() {
        return MsgIdBTrain.IMPROVE_FAVORABILITY_RESP;
    }
}
